package io.aircraft.modules.wms.service;

import io.aircraft.common.service.CrudService;
import io.aircraft.modules.wms.dto.PurchaseDetailDTO;
import io.aircraft.modules.wms.entity.PurchaseDetailEntity;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 入库明细
 *
 * @author Cycle gengruyi01@163.com
 * @since 1.0.0 2022-10-17
 */
public interface PurchaseDetailService extends CrudService<PurchaseDetailEntity, PurchaseDetailDTO> {
    List<PurchaseDetailDTO> getDetailByPurchaseId(Long purchaseId,List<PurchaseDetailDTO> all);
    List<PurchaseDetailDTO> getAllDetail();
    int batchSave(List<PurchaseDetailDTO> dtoList);
}